function loadImage(callback){
	
	var imagesPaths = {
		rocketOn:"images/rocket/rocket_on.png",
		rocketOff:"images/rocket/rocket_off.png",	
	}
	
	var imagesInstances = {};
	var allImagesAmount = 0;
	var loadedImagesAmount = 0;
	for(var src in imagesPaths){
		++allImagesAmount;	
	}
	for(var src in imagesPaths){
		imagesInstances[src] = new Image();
		imagesInstances[src].onload = function(){
            if (++loadedImagesAmount >= allImagesAmount) {
                callback(imagesInstances);
            }
        };
        imagesInstances[src].src = imagesPaths[src];		
	}							
}
